#ifndef CASE_H
#define CASE_H

#include <QObject>
#include "image.h"

class Case : public QWidget
{
    Q_OBJECT
public:
    explicit Case();

    QSize taille()const{return _taille;}
    QPoint position()const{return _position;}

    void setPosition(const QPoint point){ _position = point;}
    void setTaille(const QSize point){ _taille = point;}
    void move(const QPoint &point);
    void resize(const QSize &);
public:
    Image image;

private:
    QPoint _position;
    QSize _taille;
    
signals:
    
public slots:

};

#endif // CASE_H
